//
//  httpService.m
//  SXH-Bridge
//
//  Created by sxh on 2020/9/10.
//  Copyright © 2020 yuxin. All rights reserved.
//

#import "httpService.h"
#import "JSBUtil.h"

@implementation httpService

#pragma TODO 拦截请求到原生 待实现
- (void)onAjaxRequest:(id)request :(JSCallBack)completeHandle {
    NSLog(@"听说你拦截了所有的请求发到原生来？？？%@",request);
    NSDictionary *errDic = @{@"err":@(-1),@"message":request};
    completeHandle([JSBUtil objToJsonString:errDic],YES);
}

@end
